import request from '@/utils/request'

// 查询盈利预测配置类型列表
export function listDealIndicatorPredictType(query) {
  return request({
    url: '/indicator/dealIndicatorPredictType/list',
    method: 'get',
    params: query
  })
}

// 查询盈利预测配置类型详细
export function getDealIndicatorPredictType(id) {
  return request({
    url: '/indicator/dealIndicatorPredictType/' + id,
    method: 'get'
  })
}

// 保存盈利预测配置类型
export function saveDealIndicatorPredictType(data) {
  return request({
    url: '/indicator/dealIndicatorPredictType/save',
    method: 'post',
    data: data
  })
}

// 删除盈利预测配置类型
export function delDealIndicatorPredictType(id) {
  return request({
    url: '/indicator/dealIndicatorPredictType/' + id,
    method: 'delete'
  })
}

// 导出盈利预测配置类型
export function exportDealIndicatorPredictType(query) {
  return request({
    url: '/indicator/dealIndicatorPredictType/export',
    method: 'get',
    params: query
  })
}
